/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package samoloty.data;



/**
 *
 * @author borysfan
 */
public class DBSingleton {
    private DataBase1 data1 = new DataBase1();
    private DataBase2 data2 = new DataBase2();
    private DataBase3 data3 = new DataBase3();
    private DataBase4 data4 = new DataBase4();
    private DataBase5 data5 = new DataBase5();
    private DataBase6 data6 = new DataBase6();
    private DataBase7 data7 = new DataBase7();
    private DataBase8 data8 = new DataBase8();
    private DataBase9 data9 = new DataBase9();
    private DataBase10 data10 = new DataBase10();
    private DataBase11 data11 = new DataBase11();
    private DataBase12 data12 = new DataBase12();
    private DataBase13 data13 = new DataBase13();

    private static DBSingleton instance = null;
    
    public static DBSingleton getInstance(){
        if(instance == null){
            instance = new DBSingleton();
        }
        return instance;
    }

    public DataBase1 getDataBase1(){
        return data1;
    }

    public DataBase2 getDataBase2(){
        return data2;
    }

    public DataBase3 getDataBase3(){
        return data3;
    }

    public DataBase4 getDataBase4(){
        return data4;
    }

    public DataBase5 getDataBase5(){
        return data5;
    }

    public DataBase6 getDataBase6(){
        return data6;
    }

    public DataBase7 getDataBase7(){
        return data7;
    }

    public DataBase8 getDataBase8(){
        return data8;
    }

    public DataBase9 getDataBase9(){
        return data9;
    }

    public DataBase10 getDataBase10(){
        return data10;
    }

    public DataBase11 getDataBase11(){
        return data11;
    }

    public DataBase12 getDataBase12(){
        return data12;
    }

    public DataBase13 getDataBase13(){
        return data13;
    }

}
